package com.jk.dao.account;

import com.jk.entity.account.AccUserRole;
import com.jk.util.mybatis.MyBatisRepository;
import org.apache.ibatis.annotations.Param;

import org.springframework.dao.DataAccessException;
import java.util.Set;

/**
 * ACC_USER_ROLE dao
 * Tue Sep 22 11:02:19 CST 2015 yanghuan
 */
@MyBatisRepository
public interface AccUserRoleDao {
    int deleteByPrimaryKey(@Param("accUserRoleId") String key) throws DataAccessException;

    int insert(AccUserRole accUserRole) throws DataAccessException;

    AccUserRole selectByPrimaryKey(@Param("accUserRoleId") String key) throws DataAccessException;

    int updateByPrimaryKeySelective(AccUserRole accUserRole) throws DataAccessException;

    int updateByPrimaryKey(AccUserRole accUserRole) throws DataAccessException;

    Set<String> selectRoleIdSet(@Param("accUserId") String accUserId) throws DataAccessException;

    int delete(AccUserRole accUserRole) throws DataAccessException;
}

